All code was run with R version 2024.04.+764. The final compile for the published paper occurred in January 2025.

For tables and graphs to be saved properly, folders called "Tables" and "Graphs" have to be created in the working directory.

The replication code files are then run in the following order:
1. Run preprocessing_data.R to convert the raw data into cleaned data for the three experiments
2. Create survey weights for weighted regressions using creating_survey_weights.R
3. Run analysis_state_management_covariates.R to look at covariates of the state intervention variable
4. Run analysis files for each experiment: 
	For the candidate conjoint experiment: 
	analysis_candidate_conjoint_final.R to replicate results of unweighted regression analyses
	analysis_candidate_conjoint_weights_final.R to replicate results of weighted regression analyses
	For the policy plan experiment: 
	analysis_policy_plan_experiment_final.R to replicate results of unweighted regression analyses
	analysis_policy_plan_experiment_weights_final.R to replicate results of weighted regression analyses
	For coal exit experiment: 
	analysis_coal_experiment_final.R to replicate results of unweighted regression analyses
	analysis_coal_experiment_weights_final.R to replicate results of weighted regression analyses
